﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BaseAuthRole.Domain.OutPut
{
    /// <summary>
    /// 组织树接口输出
    /// </summary>
    public class OrgTreeOutPut
    {
        /// <summary>
        /// 主键Id
        /// </summary>
        public string? Id { get; set; }

        /// <summary>
        /// 组织名称
        /// </summary>
        public string OrgName { get; set; }

        /// <summary>
        /// 组织英文名称
        /// </summary>
        public string? EnName { get; set; }

        /// <summary>
        /// 全称
        /// </summary>
        public string? FullName { get; set; }

        /// <summary>
        /// 上级组织编码，对应orgid
        /// </summary>
        public string? ParentId { get; set; }

        /// <summary>
        /// 组织架构层级
        /// </summary>
        public string? Level { get; set; }

        /// <summary>
        /// 子节点
        /// </summary>
        public List<OrgTreeOutPut>? Children { get; set; }
    }
}
